﻿using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;

public class BarricadeEffectSystem : EffectSystem
{
    // 重写 specialTargets 属性，返回目标列表
    protected override void SetupByProNumber()
    {
        Mana = 2 - ProNumber;
        Description = "回合结束不再失去防御效果。";
    }


    public override List<CombatantView> specialTargets => new SelfTM().GetTargets();

    public override void Special()
    {
        HeroSystem.Instance.heroView.DisableClearDefence();
    }
}

